package com.example.goodpet.chat.broadcastreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.goodpet.chat.fragment.MyEaseConversationListFragment;

public class MessageReceivedReceiver extends BroadcastReceiver {

    public static String BROAD_CAST_MSG_RECEIVED="com.example.goodpet.msgreceived";

    public MessageReceivedReceiver() {
    }

    MyEaseConversationListFragment myEaseConversationListFragment;

    public MessageReceivedReceiver(MyEaseConversationListFragment myEaseConversationListFragment) {
        this.myEaseConversationListFragment = myEaseConversationListFragment;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        myEaseConversationListFragment.conversationListLayout.loadDefaultData();

    }
}
